#ifndef _LIB0_H_INCLUDED_
#define _LIB0_H_INCLUDED_

void memset(void *b, int c, long len);
void memcpy(void *dst, const void *src, long len);
int memcmp(const void *b1, const void *b2, long len);
int memeq(const void *mem, unsigned char c, long len);

int strlen(const char *s);
void strcpy(char *dst, const char *src);
int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, int len);

int atoi(const char *s);
long atol(const char *s);
unsigned long xtol(const char *s);
int ltos(unsigned long value, char *buf);
int xtos(unsigned long value, char *buf);

unsigned long div3216(unsigned long A, unsigned short B, unsigned short *rem);

int is_num(const char *s);
int is_xnum(const char *s);

#endif

